/**********************************************************************************
 * Code license:  GNU General Public License v3                                   *
 * Main page:     https://code.google.com/p/library-cross-platform/               *
 * Issue tracker: https://code.google.com/p/library-cross-platform/issues/list    *
***********************************************************************************/

package library.compiler;

import library.parser.*;
import library.util.*;

public class CheckFileBeforeBuild extends AsciiParser {

	
  public CheckFileBeforeBuild() {
    registrateParserEvents();
  }

  protected void registrateParserEvents() {
    registrateEvent(EVENT_START, new EventStart().getClass().getName());
  }

  public class EventStart extends ParserEventListener {
    public EventStart() {}
    public boolean start() throws IllegalEventException {
      System.out.println("CheckFileBeforeBuild.AsciiParser.EventStart.parse(...)");
      parent.setNextEvent(EVENT_EXIT);
      return false;
    }
  }


}
